package com.itbour.service.goods;

import java.util.List;
import java.util.Map;

import com.itbour.com.page.Page;
import com.itbour.dto.com.AreaInfoDto;
import com.itbour.dto.goods.GoodsInfoDto;
import com.itbour.dto.goods.ResortDto;
import com.itbour.dto.goods.ResourceTypeInfoDto;


/**
*
* copyright   pirate alliance team 2014
* @author     lunxing
*
*/
public interface GoodsService {

	//HomePage画面商品情報を検索する
	List<ResortDto> selectHomePageGoods();

	ResortDto getGoodsDetailById(long id);
	

	public String saveGoodsInfo(ResortDto resortDto, String id);
	
	/**
	 * @param countKey
	 *            查询该表所有记录行的SQL语句ID
	 * @param sqlKey
	 *            需要查询记录的SQL语句ID
	 * @param param
	 *            传递给查询语句的参数
	 * @param pageNo
	 *            需要查询的实际页
	 * @param pageSize
	 *            每页记录行数
	 * @return page对象
	 */
	public Page pageQuery(Map<String,Object> param, Integer pageNo, Integer pageSize);
	
	public List<Map<String,Object>> selectArea(Map<String,Object> param);
	
	public void saveArea(AreaInfoDto param);
	
	public void goodsVerify(String ids, int state);
	
	public List<Map<String,Object>> selectLabels(Map<String,Object> param);
	
	public void deleteGoodsInfo(ResortDto resortDto, String id,String delIds);

	List<Map<String, Object>> selectAreaOfClassificationChild(
			Map<String, Object> param);

	List<Map<String, Object>> selectAreaOfClassificationChild2(
			Map<String, Object> param);
}
